SRC = $(shell ls *.c)
OBJ = $(SRC:.c=.o)
proc.exe:$(OBJ)
	@gcc -o $@ $^
	@echo "linking ... $^ to $@"
%.o:%.c
	@gcc -c $<
	@echo "compling ... $< to $@"


.PHONY:clean
clean:
	rm -f $(OBJ) proc.exe
